﻿@using RuoVea.ExConfig
@using RuoVea.Tool.Model
@{
    var host = Appsettings.app("BaseFile:HostUrl");
}
<ul class="nav layui-nav">
    <li><a class="@(selpara==null?"active":"")" href="@host/index">所有</a> </li>
    <li><a class="@(selpara=="text"?"active":"")" href="@host/index?c=text">文本类</a> </li>
    <li><a class="@(selpara=="document"?"active":"")" href="@host/index?c=document">文档类</a> </li>
    <li><a class="@(selpara=="image"?"active":"")" href="@host/index?c=image">图像类</a> </li>
@*    <li><a class="@(selpara=="sound"?"active":"")" href="@host/index?c=sound">音频类</a> </li>
    <li><a class="@(selpara=="video"?"active":"")" href="@host/index?c=video">视频类</a> </li>*@
    <li><a class="@(selpara=="developer"?"active":"")" href="@host/index?c=developer">开发类</a> </li>
    <li><a class="@(selpara=="webmaster"?"active":"")" href="@host/index?c=webmaster">运维类</a> </li>
    <li><a class="@(selpara=="designer"?"active":"")" href="@host/index?c=designer">设计类</a> </li>
    <li><a class="@(selpara=="academic"?"active":"")" href="@host/index?c=academic">学术类</a> </li>
    <li><a class="@(selpara=="inquiry"?"active":"")" href="@host/index?c=inquiry">查询类</a> </li>
    <li><a class="@(selpara=="navigation"?"active":"")" href="@host/index?c=navigation">导航类</a> </li>
    @*<li><a class="@(selpara=="other"?"active":"")" href="@host/index?c=other">其它</a> </li>*@
    
</ul>
@code {
    //[BindProperty(SupportsGet = true)]
    [Parameter]
    public string? selpara { get; set; }
}
